<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class AnswerSurvey extends Model
{
	
    protected $table = 'answer_surveies';

    public function subject()
    {
        return $this->hasMany(AnswerSurveySubject::class, 'answer_id');
    }

    public function option()
    {
        return $this->hasMany(AnswerSurveyOption::class, 'option_id');
    }

    public function log()
    {
        return $this->hasMany(AnswerSurveyLog::class);
    }
    
}
